package com.dmlll.dao;

import com.dmlll.VO.InformationManagement;
import com.dmlll.VO.InformationManagementDTO;
import com.dmlll.pojo.FamilyPlanning;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FamilyPlanningMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(FamilyPlanning record);

    int insertSelective(FamilyPlanning record);

    FamilyPlanning selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FamilyPlanning record);

    int updateByPrimaryKey(FamilyPlanning record);
    //信息管理分页查
    List<InformationManagement> selectAll(@Param("informationManagementDTO") InformationManagementDTO informationManagementDTO,@Param("Grade") Integer Grade);
    //查询用户所在镇的code值
    int selectGrade(Integer id);
}